<div id="lista">
	<table>
		<tr>
			<th>Id</th>
			<th>Módulo</th>
			<th>Status</th>
			<th>Ações</th>
		</tr>
	<?php foreach($modulos['Modulo'] as $modulo) :?>
		<tr>
			<td><?php echo $modulo['id']; ?></td>
			<td><?php echo $modulo['modulo_exibicao']; ?></td>
			<td><?php echo $modulo['status']; ?></td>
			<td>
				<?php echo $this->Html->link('Permissão', 'Modulos/permissoes/'.$modulo['id']); ?> &nbsp;
				<?php echo $this->Html->link('Editar', 'Modulos/edit/'.$modulo['id']); ?> &nbsp;
				<?php echo $this->Html->link('Excluir', 'Modulos/delete/'.$modulo['id']); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>

	<a href="../Modulos/add">Cadastrar</a>
</div>